package java.cn.tedu.boot21.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class SayHelloController {
    @RequestMapping("/sayHello")
    @ResponseBody
    public String sayHello(String name,String job){
        return name+"你好,你的工作是"+job;
    }

}
